</div>   
<div id="actu2" style="float: right;">
    <?php
                        $login_style = 'style="height:204px;"';
                        if($this->session->userdata('gardient_id')==TRUE){
                            $login_style='style="height:180px;"';
                        }
                        if($login_gardient_error){
                            $login_style='style="height: 254px;"';
                        }
                        if($validate_error_gardient){
                            $login_style='style="height: 284px;"';
                        }
                    ?>
                        <div id="login2" align="center" <?php echo $login_style;?>>
                            <img src="<?php echo base_url().'assets/css/'?>images/login2_top2.png" class="bgrtop"/>
                            <img src="<?php echo base_url().'assets/css/'?>images/22222.png" class="bgrbottom" />
                            <?php if($this->session->userdata('gardient_id')==FALSE){?>
                            <div class="contenu">
                                <div id="titre_login" >CONNEXION GARDIEN</div>
                                <?php echo form_open('user/login_gardient');?>
                                <table id="form_login">
                                    <tr><td>Identifiant</td><td><input type="text" name="gardient_name_login" class="input_login2"/></td></tr>
                                    <tr><td colspan="2"><?php echo form_error('gardient_name_login')?></td></tr>
                                    <tr><td>Mot de passe</td><td><input type="password" name="password_login" class="input_login2"/></td></tr>
                                    <tr><td colspan="2"><?php echo form_error('password_login')?></td></tr>
                                </table>
<!--                                <input type="image" src="<?php echo base_url().'assets/css/'?>images/envoyer2.png" alt="Connexion" name="submit1" id="submit" />-->
                                <input type="submit" value="Envoyer" name="submit1" id="submit1" />
                                <?php if(isset($login_gardient_error)) echo '<br/>'.$login_gardient_error;?>
                                <?php echo form_close();?>
                                <div id="pass_oublier">
                                <a href="<?php echo site_url('user/register_gardient')?>">Inscription</a> / 
                                <a href="<?php echo site_url('user/forgot_pass_gardient')?>">Mot de passe oublié?</a>                </div>
                            </div>
                            <?php }else {?>
                            <div class="contenu">
                            <table id="tbprofil">
                                <?php
                                    $gardient_id = $this->session->userdata('gardient_id');
                                    $ava = $this->session->userdata('avatar');
                                    $image_path = './assets/avatar_gardient/thumbs/' . $ava;
                                    if ($ava != '') {
                                        if (file_exists($image_path)) {
                                            $image_path = base_url() . './assets/avatar_gardient/thumbs/' . $ava;
                                        } else {
                                            $image_path = base_url() . 'assets/avatar_gardient/noimage.gif';
                                        }
                                    } else {
                                        $image_path = base_url() . 'assets/avatar_gardient/noimage.gif';
                                    }
                                ?>
                                <tr>
                                    <td>
                                        <img height="80px" border="0" src="<?php echo $image_path?>"/>
                                    </td>
                                    <td >Bonjour<br/> <a href="<?php echo site_url('user/edit_profile') . '/' . $gardient_id ; ?>"><?php echo $this->session->userdata('gardient_name')?></a></td>
                                </tr>
                                <tr>
                                    <td colspan="2"><a href="<?php echo site_url('user/change_pass') . '/' . $gardient_id ; ?>">Modifier mot de passe | </a>
                                        <a href="<?php echo site_url('user/logout_gardient');?>">Déconnexion</a>
                                    </td>
                                </tr>
                            </table>
                            </div>
                            <?php }?>
                        </div>
    <div id="image" align="left"><a href="<?php echo root_url('seatting-falin').'doggy-flirt'?>"><img border="0" src="<?php echo base_url().'assets/css/'?>images/logo-3.png" /></a></div>
                        <div id="image" align="left"><a href="<?php echo root_url('seatting-falin').'zoo-market'?>"><img border="0" src="<?php echo base_url().'assets/css/'?>images/logo4.png" /></a></div>
                        <div id="image" align="left"><a href="<?php echo root_url('seatting-falin').'animus'?>"><img border="0" src="<?php echo base_url().'assets/css/'?>images/logo5.png" /></a></div>
                    </div>
                    <!--END ACTU2-->        
                </div>    
            </div>
            <!--END WRAPPER ACTU-->

        </div> 
        <div id="wrapper-footer" align="center">
            <div id="footer">    
                <div id="footer-left" align="left">
                    <a href="<?php echo root_url('seatting-falin').'index.php/accueil/accueil';?>">Accueil</a> &nbsp;|&nbsp;
                    <a href="<?php echo root_url('seatting-falin').'index.php/accueil/propos';?>">A propos</a> &nbsp;|&nbsp;
                    <a href="<?php echo root_url('seatting-falin').'index.php/accueil/contact';?>">Contact</a>
                    <br/><br/>
                    Copyright © 2011  
                </div>
                <!--END WRAPPER LEFT-->
                <div id="footer-right" align="right">
                    <table>
                        <tr>
                            <td>Conntectez-vous rapidement</td>
                            <td><a href="#"><img border="0" src="<?php echo base_url().'assets/css/'?>images/facebook.png"/></a></td>
                            <td><a href="#"><img border="0" src="<?php echo base_url().'assets/css/'?>images/twitter.png"/></a></td>
                            <td><a href="#"><img border="0" src="<?php echo base_url().'assets/css/'?>images/myspace.png" /></a></td>
                        </tr>
                    </table>
                </div>
            </div>    
        </div>


    </body>
</html>